package com.jy.wms.dao;

import com.jy.wms.common.base.BaseDao;
import com.jy.wms.pojo.WmsEstimatedArrivalOrder;
import com.jy.wms.pojo.WmsPdaLogon;
import com.jy.wms.pojo.WmsQualityInspectionList;
import org.apache.ibatis.annotations.Param;
import java.util.List;

   /**
   * @ClassName: WmsQualityInspectionListMapper.java
   * @Description: TODO(这里用一句话描述这个类的作用)
   * @Author Jane
   * @Date Mon Nov 06 14:46:06 CST 2017
   */
   public interface WmsQualityInspectionListMapper extends BaseDao<WmsQualityInspectionList>{

   /**
    * 插入一条记录
    * @param entity 实体对象
    * @return int
    */
    public Integer baseInsert(@Param("WmsQualityInspectionList") WmsQualityInspectionList entity);

   /**
    * 插入一条记录（匹配有值的字段）
    * @param entity 实体对象
    * @return int
    */
   public Integer baseInsertSelective(@Param("WmsQualityInspectionList") WmsQualityInspectionList entity);

   /**
    * 删除（根据主键ID删除）
    * @param id 主键
    * @return int
    */
   public Integer baseDeleteByPrimaryKey(@Param("id") String id);

   /**
    * 删除（根据ID 批量删除）
    * @param idList 主键ID列表
    * @return int
    */
    public Integer baseDeleteBathPrimaryKeys(@Param("list") List<String> idList);


    /**
    * 分页查询
    * @param entity 实体
    * @return List<WmsQualityInspectionList>
    */
    public List<WmsQualityInspectionList>  baseSelectPage(@Param("WmsQualityInspectionList") WmsQualityInspectionList entity);
       /**
        *分页查询入库任务页面_Jane
        * @param entity 实体
        * @return List<WmsQualityInspectionList>
        */
    public List<WmsQualityInspectionList>  baseRkrwSelectPage(@Param("WmsQualityInspectionList") WmsQualityInspectionList entity);
       /**
        *分页出库任务页面查询
        * @param entity 实体
        * @return List<WmsQualityInspectionList>
        */
       public List<WmsQualityInspectionList>  baseCkRwSelectPage(@Param("WmsQualityInspectionList") WmsQualityInspectionList entity);
    /**
    * 查询（根据主键ID查询）
    * @param id 主键ID
    * @return User
    */
    public WmsQualityInspectionList  baseSelectByPrimaryKey(@Param("id") String id);

   /**
    * 查询（根据ID 批量查询）
    * @param idList 主键ID列表
    * @return list
    */
    public Integer baseSelectBathPrimaryKeys(@Param("list") List<WmsQualityInspectionList> idList);

   /**
    *修改 （匹配有值的字段）
    * @param entity 主键ID列表
    * @return int
    */
    public Integer baseUpdateByPrimaryKeySelective(@Param("WmsQualityInspectionList") WmsQualityInspectionList entity);

   /**
    *修改（根据主键ID修改）
    * @param entity 主键ID列表
    * @return int
    */
    public Integer baseUpdateByPrimaryKey(@Param("WmsQualityInspectionList") WmsQualityInspectionList entity);
       /**
        *查询PDA登录账户
        * @param dlhzid 所属货主ID
        *@param dlckid 仓库id
        * @param dlyhmc 登录用户名称
        * @return int
        */
    public List<WmsPdaLogon>  baseSelectPDADLByHz(@Param("dlhzid")String dlhzid, @Param("dlckid") String dlckid,@Param("dlyhmc") String dlyhmc );
       /**
        * 根据asniD查询马盘状态
        * @param asnId asnId
        * @return
        */
       public WmsEstimatedArrivalOrder seachMpztByAsnId(@Param("asnId") String asnId);
}
